package service;
 
 import pojo.User;
 
 import java.util.List;
 
 public interface UserService {


    
     int addUser(User user);

     User findUserById(int id);

     int updateUser(User user);


     int deleteUserById(Integer id);

     List<User> findAll(User condition,int offset,int pageSize);

     int count(User user);


 }
